package com.monitor.dal;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

/**
 * @Author tanlian
 * @Date 2018/12/21 16:29
 * @Desc
 */
@JacksonXmlRootElement(localName = "result")
public class XmlModel {

    @JacksonXmlProperty(localName = "key")
    private String key;

    @JacksonXmlProperty(localName = "value")
    private String value;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

}
